/**
 * Created by Administrator on 2017/10/11.
 */
import React from 'react';
import { Collapse } from 'antd';
import css from './index.less';
import Icon from 'components/icon';
const { Panel } = Collapse;

const Group = (props) => {
  props = {
    ...props,
    className: css.panel,
    header: <div className={css.title}>{props.title} <Icon type="icon-triangle" className={css.icon}/></div>,
  };
  return (
    <Panel {...props} />
  );
};
export default Group;
